package com.lv.LvPriceComboOfTourismForModify.bean;
import javax.persistence.*;

import com.lv.LvTourismForSale.bean.LvTourismForSale;
import org.hibernate.annotations.GenericGenerator;
import com.aqgj.util.BaseEntity;

@Entity
@Table(name = "lv_price_combo_of_tourism_for_modify")
public class LvPriceComboOfTourismForModify implements BaseEntity{

    private String id;//主键

    private String title;//标题

    private Integer sequence;//顺序

    private String comment;//说明

    private java.math.BigDecimal adultPrice;//成人价格

    private java.math.BigDecimal childPrice;//儿童价格

    private String fkTourismForSaleId;//在售旅游id

    private java.util.Date addTime;//添加时间´

    private String fkAddUserId;//添加人id

    private LvTourismForSale lvTourismForSale;

    public void setId(String value){
        this.id = value;
    }
    public void setTitle(String value){
        this.title = value;
    }
    public void setSequence(Integer value){
        this.sequence = value;
    }
    public void setComment(String value){
        this.comment = value;
    }
    public void setAdultPrice(java.math.BigDecimal value){
        this.adultPrice = value;
    }
    public void setChildPrice(java.math.BigDecimal value){
        this.childPrice = value;
    }
    public void setFkTourismForSaleId(String value){
        this.fkTourismForSaleId = value;
    }
    public void setAddTime(java.util.Date value){
        this.addTime = value;
    }
    public void setFkAddUserId(String value){
        this.fkAddUserId = value;
    }
    public void setLvTourismForSale(LvTourismForSale lvTourismForSale) {
        this.lvTourismForSale = lvTourismForSale;
    }

    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="title",unique=false,nullable=true,insertable=true,updatable=true,length=512)
    public String getTitle(){
        return this.title;
    }
    @Column(name ="sequence",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public Integer getSequence(){
        return this.sequence;
    }
    @Column(name ="comment",unique=false,nullable=true,insertable=true,updatable=true,length=512)
    public String getComment(){
        return this.comment;
    }
    @Column(name ="adult_price",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.math.BigDecimal getAdultPrice(){
        return this.adultPrice;
    }
    @Column(name ="child_price",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.math.BigDecimal getChildPrice(){
        return this.childPrice;
    }
    @Column(name ="fk_tourism_for_sale_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkTourismForSaleId(){
        return this.fkTourismForSaleId;
    }
    @Column(name ="add_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getAddTime(){
        return this.addTime;
    }
    @Column(name ="fk_add_user_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkAddUserId(){
        return this.fkAddUserId;
    }
    @Transient
    public LvTourismForSale getLvTourismForSale() {
        return lvTourismForSale;
    }
}
